<template>
  <div class="xtx-tabs-panel" v-show="name === activeName">
    <slot />
  </div>
</template>
<script>
export default {
  name: "XtxTabsPanel"
}
</script>
<script setup >
import { inject } from 'vue'
defineProps({
  label: {
    type: String,
    default: ''
  },
  name: {
    type: [String, Number],
    default: ''
  }
})
const activeName = inject('activeName')

</script>
